package com.eastfair.venueservice.dto;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.venueservice.enumeration.ViolationFineRefundPathEnum;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 违规罚款记录
 * </p>
 *
 * @author dq
 * @since 2023-06-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ViolationFineSaveDTO", description = "违规罚款记录")
public class ViolationFineSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 违规记录ID
     */
    @ApiModelProperty(value = "违规记录ID")
    private Long violationId;
    /**
     * (弃用)展商ID
     */
    @ApiModelProperty(value = "(弃用)展商ID")
    private Long exhibitorId;
    /**
     * 保证金订单编号
     */
    @ApiModelProperty(value = "保证金订单编号")
    @Size(max = 64, message = "保证金订单编号长度不能超过64")
    private String bondOrderNumber;
    /**
     * 应罚金额
     */
    @ApiModelProperty(value = "应罚金额")
    private BigDecimal shouldDeductAmount;
    /**
     * 实际处罚金额
     */
    @ApiModelProperty(value = "实际处罚金额")
    private BigDecimal actualDeductAmount;
    /**
     * 是否从保证金扣除0否1是
     */
    @ApiModelProperty(value = "是否从保证金扣除0否1是")
    private Integer isDeductBond;
    /**
     * (弃用)是否退款 0:否 1:是
     */
    @ApiModelProperty(value = "(弃用)是否退款 0:否 1:是")
    private Integer isRefund;
    /**
     * (弃用)退款路径 #{BOND:保证金;SETTLEMENT:结算单}
     */
    @ApiModelProperty(value = "(弃用)退款路径 #{BOND:保证金;SETTLEMENT:结算单}")
    private ViolationFineRefundPathEnum refundPath;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Size(max = 255, message = "备注长度不能超过255")
    private String remark;

}
